export class ComponentServiceData {
    public static get createdQRcode() {
        return {
            input: {
                accountId: 'accountId',
                data: {
                    testData: 'testData',
                },
                fileId: 'fileId',
                projectId: 'projectId',
            },
            output: {
                config: {
                    headers: {Authorization: '', 'content-Type': 'application/json'},
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60,
                },
                data: {testData: 'testData'},
                url: '/accounts/accountId/projects/projectId/files/fileId/locationComponents',
            },
        };
    }

    public static get getQRcodes() {
        return {
            input: {
                accountId: 'accountId',
                fileId: 'fileId',
                order: 'order',
                pageNumber: 'pageNumber',
                pageSize: 'pageSize',
                projectId: 'projectId',
            },
            output: {
                config: {
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60,
                },
                url:
                    '/accounts/accountId/projects/projectId/files/fileId/locationComponents' +
                    '?order[]=order&pageNumber=pageNumber&pageSize=pageSize',
            },
        };
    }

    public static get deleteQRcode() {
        return {
            input: {
                accountId: 'accountId',
                componentIds: 'componentIds',
                fileId: 'fileId',
                projectId: 'projectId',
            },
            output: {
                config: {
                    headers: {Authorization: ''},
                    onUploadProgress: undefined,
                    params: {},
                    timeout: 60,
                },
                url:
                    '/accounts/accountId/projects/projectId/files/fileId/locationComponents' +
                    '?locationComponentId[]=componentIds',
            },
        };
    }
}
